package com.itheima.service;

import com.itheima.pojo.Menu;
import com.itheima.pojo.User;

import java.util.List;

public interface UserService {
    public User findByUsername(String username);

    //菜单展示查询接口
    Integer findRoleByUserName(String username);

    List<Menu> getMenuByRoleId(Integer roleId);
}
